<?php

class StringUtil {

	public static function getExt($fileName) {
		$file = explode('.', $fileName);
		$ext = array_pop($file);
		return $ext;
	}

}

?>